

function httpre(){
    const Http = new XMLHttpRequest();
    const url='http://localhost:5555/Test/Test';
    Http.open("GET", url);
    Http.send();
    Http.onreadystatechange = (e) => {
        const jsonData = JSON.parse(Http.response)
        console.log(jsonStr)
        alert(jsonData)
        for(let k in jsonData ) {//遍历packJson 对象的每个key/value对,k为key
           // alert(k + "----- " + jsonData[k]);
        }

    }
}
